import ReviewProgress from "@/components/app/ReviewProgress";
import Card from "@/components/common/Card";
import ByButton from "@/components/ui/ByButton";
import { Text, View } from "@tarojs/components";

const processNormal: any[] = [
  { text: "申请", status: "success" },
  { text: "审核", status: "active" },
  { text: "打款" },
];
const processReject = [{ text: "申请" }, { text: "审核未通过" }];

export default () => {
  return (
    <Card className="my-4">
      <View className="flex justify-between">
        <View className="font-bold text-lg">
          <Text className="text-second">SS9013</Text>
          <Text>肖*</Text>
        </View>

        <View className="text-primary font-bold text-lg">￥30,000</View>
      </View>

      <View className="my-3 text-third text-sm">
        深圳市福田区皇御苑A-12-1219
      </View>

      <View className="flex items-center">
        <View className="flex-auto">
          <ReviewProgress items={processNormal} />
        </View>

        <ByButton>申请</ByButton>
      </View>

      <View className="mt-2 text-error text-sm">
        驳回原因：还有小部分项目未收尾，完善后重新申请
      </View>
    </Card>
  );
};
